home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cug187
/
skpblk.c
< prev
next >
Wrap
C/C++ Source or Header
|
1985-12-30
|
885b
|
25 lines
/*@*****************************************************/
/*@ */
/*@ skpblk - skip to the next non-blank value. */
/*@ A non-blank or NULL will terminate it. */
/*@ */
/*@ Usage: skpblk(cbuf); */
/*@ where cbuf is a pointer to characters. */
/*@ */
/*@ Returns a pointer to the char which terminated */
/*@ the scan (i.e. the non-blank or NULL). */
/*@ */
/*@*****************************************************/
#define NULL 0x00
char *skpblk(cbuf)
char *cbuf;
{
/* skip to next non-blank in buffer */
while((*cbuf == ' ') && (*cbuf != NULL))
cbuf++;
return (cbuf);
}